﻿using System;
using System.ComponentModel;
using System.Collections.Generic;
using System.Diagnostics;
using System.Text;
using System.Windows;
using System.Collections.ObjectModel;

namespace Transportr
{
    public class RouteItemViewModel : BaseItemViewModel
    {
        private int mRouteId;
        private string mRouteName;

        public int RouteId
        {
            get { return mRouteId; }
            set
            {
                if (value != mRouteId)
                {
                    mRouteId = value;
                    NotifyPropertyChanged("RouteId");
                }
            }
        }
        public string RouteName
        {
            get { return mRouteName; }
            set
            {
                if (value != mRouteName)
                {
                    mRouteName = value;
                    NotifyPropertyChanged("RouteName");
                }
            }
        }
    }
}